<?php
	class LevelModel extends Model{
		public $_validate =	array(
				array('level_name','2,20','等级名称必须在2-20位之间',Model::MUST_VALIDATE,'length',Model:: MODEL_BOTH),
				array('level_info','0,200','等级描述不得大于200位',Model::MUST_VALIDATE,'length',Model:: MODEL_BOTH),
		);
		
		public $_map = array(
				"name" => "level_name",
				"info" => "level_info",
				);
	}
?>